<template>
  <div>
    <Head />
    <div class="inv">
      <div
        class="Rectangle59"
        style="display: flex;justify-content: space-between;align-items: center; margin: 0 12px;"
      >
        <div class="WhaleAI产品">
          {{ $t('m.Whale AI 产品') }}
        </div>
        <div
          class="label_title1"
          style="display: flex;justify-content: center;align-items: center;color: rgba(242, 195, 21, 1);font-family: PingFang SC;font-size: 15px;"
        >
          {{ $t('m.我的订单') }}
          <img src="../../assets/img/righty.png" alt="" />
        </div>
      </div>
    </div>
    <div class="box">
      <div style="margin-bottom: 16px;">
        <img
          src="../../assets/img/tiyan.png"
          alt=""
          style="width: 99px;height: 29px;"
        />
      </div>
      <div class="Frame17">
        <div style="text-align: center;">
          <div class="title">{{ $t('m.时间') }}</div>
          <div class="text">
            <span style=" color: rgba(255, 255, 255, 1);">15</span>
            <span style=" color: rgba(255, 255, 255, 0.6);">天</span>
          </div>
        </div>
        <div style="text-align: center;">
          <div class="title">{{ $t('m.APY(天)') }}</div>
          <div class="text" style=" color: rgba(43, 212, 158, 1);">0.7%</div>
        </div>
        <div style="text-align: center;">
          <div class="title">{{ $t('m.价格') }}</div>
          <div class="text1">100U-1000U</div>
        </div>
      </div>
      <div class="my1">{{ $t('m.兑换数量') }}</div>
      <div style="margin-bottom: 8px;">
        <van-field
          v-model="value"
          placeholder="请输入体验金额"
          class="myinput"
        />
      </div>
      <div>
        <span
          style=" color: rgba(255, 255, 255, 0.6);
  font-family: PingFang SC;
  font-size: 12px;"
          >{{ $t('m.USDT余额') }}</span
        ><span
          style=" color: rgba(249, 129, 40, 1);
  font-family: Outfit;
  font-size: 12px;
  margin-left: 4px;"
          >6565.55</span
        >
      </div>
      <div style="margin-top: 24px;">
        <van-button
          block
          color="#2AD49E"
          class="btn"
          round
          @click="copy(info.inviteUrl)"
          >{{ $t('m.购 买') }}</van-button
        >
      </div>
    </div>
    <div class="box1">
      <div style="margin-top: 6px;margin-bottom: 16px;">
        <img
          src="../../assets/img/chanp.png"
          alt=""
          style="width: 99px;height: 29px;"
        />
      </div>
      <div class="Frame19">
        <div>
          <div class="title">{{ $t('m.APY(天)') }}</div>
          <div class="text" style=" color: rgba(43, 212, 158, 1);">
            0.6-1.2%
          </div>
        </div>
        <div style="text-align: right;">
          <div class="title">{{ $t('m.价格') }}</div>
          <div class="text1">100U-1000U</div>
        </div>
      </div>
      <div class="my1">{{ $t('m.时间') }}</div>
      <div
        :class="[index == current ? 'Frame194' : 'Frame195']"
        v-for="(item, index) in list"
        :key="index"
        @click="current = index"
      >
        {{ item }}
      </div>
      <div class="my1">{{ $t('m.购买数量') }}</div>
      <div style="margin-bottom: 8px;">
        <van-field
          v-model="value"
          placeholder="请输入购买数量"
          class="myinput"
        />
      </div>
      <div>
        <span
          style=" color: rgba(255, 255, 255, 0.6);
  font-family: PingFang SC;
  font-size: 12px;"
          >{{ $t('m.USDT余额') }}</span
        ><span
          style=" color: rgba(249, 129, 40, 1);
  font-family: Outfit;
  font-size: 12px;
  margin-left: 4px;"
          >6565.55</span
        >
      </div>
      <div style="margin-top: 24px;">
        <van-button
          block
          color="#2AD49E"
          class="btn"
          round
          @click="copy(info.inviteUrl)"
          >{{ $t('m.购 买') }}</van-button
        >
      </div>
    </div>
    <div class="box2">
      <div
        class="Rectangle59"
        style="display: flex;justify-content: space-between;align-items: center; margin: 12px;"
      >
        <div
          style="display: flex;justify-content: space-between;align-items: center;"
        >
          <div>
            <img
              src="../../assets/img/icon2.png"
              alt=""
              style="width: 24px;height: 24px;margin-right: 10px;"
            />
          </div>
          <div
            style="color: rgba(255, 255, 255, 1);
  font-family: PingFang SC;
  font-size: 15px;"
          >
            {{ $t('m.我的收益') }}
          </div>
        </div>
        <div
          class="label_title1"
          style="display: flex;justify-content: center;align-items: center;color: rgba(242, 195, 21, 1);font-family: PingFang SC;font-size: 15px;"
        >
          <img
            src="../../assets/img/right.png"
            alt=""
            style="width: 25px;height: 25px;"
          />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value: '',
      current: 0,
      list: [90, 180, 360, 720],
    }
  },
  created() {},
  methods: {},
}
</script>

<style lang="less" scoped>
.box2 {
  top: 934px;
  left: 10px;
  width: 355px;
  height: 56px;
  --border-radius: 20px;
  border-radius: var(--border-radius);
  border-width: 1px;
  border-style: solid;
  border-image-source: conic-gradient(
    from 221deg at 50% 50%,
    #f98427 43.2deg,
    rgba(255, 255, 255, 0.05) 61.95deg,
    rgba(255, 255, 255, 0) 179.36deg,
    #2ad49e 126.65deg,
    rgba(255, 255, 255, 0) 270.75deg,
    rgba(255, 255, 255, 0) 284.24deg,
    rgba(255, 255, 255, 0) 359.85deg
  );
  border-image-slice: 1;
  border-image-slice: 1;
  // box-sizing: border-box;
  background: rgba(69, 69, 69, 0.3);
  backdrop-filter: blur(88.199997px);
  margin: 20px auto;
  clip-path: inset(0px round var(--border-radius));
}
.Frame194 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 77px;
  height: fit-content;
  display: inline-flex;
  place-content: center;
  place-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 32px;
  border-radius: 20px;
  background: rgba(189, 255, 0, 1);
  backdrop-filter: blur(88.199997px);
  margin: 0 3px;
}
.Frame195 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 77px;
  height: fit-content;
  display: inline-flex;
  place-content: center;
  place-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 32px;
  border-radius: 20px;
  background: rgba(69, 69, 69, 0.3);
  backdrop-filter: blur(88.199997px);
  color: #fff;
  margin: 0 3px;
}

.box1 {
  top: 533px;
  left: 10px;
  width: 355px;
  height: 420px;
  padding: 10px;
  --border-radius: 20px;
  border-radius: var(--border-radius);
  border-width: 1px;
  border-style: solid;
  border-image-source: conic-gradient(
    from 196deg at 50% 50%,
    #f98427 43.2deg,
    rgba(255, 255, 255, 0.05) 58.95deg,
    rgba(255, 255, 255, 0) 179.36deg,
    #2ad49e 225.65deg,
    rgba(255, 255, 255, 0) 270.75deg,
    rgba(255, 255, 255, 0) 313.24deg,
    rgba(255, 255, 255, 0) 359.85deg
  );
  border-image-slice: 1;
  box-sizing: border-box;
  background: rgba(26, 33, 35, 1);
  backdrop-filter: blur(88.199997px);
  clip-path: inset(0px round var(--border-radius));
  margin: 0 auto;
  .Frame19 {
    width: 335px;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 52px;
    flex-shrink: 0;
    padding: 12px 0px;
    border-radius: 20px;
    // background: rgba(69, 69, 69, 0.3);
    backdrop-filter: blur(88.199997px);
    margin: 0 auto;
    .title {
      color: rgba(255, 255, 255, 0.6);
      font-family: PingFang SC;
      font-size: 12px;
      margin: 0;
    }
    .text {
      color: rgba(255, 255, 255, 1);
      font-family: Outfit;
      font-weight: bold;
      font-size: 13px;
      line-height: 20px;
    }
    .text1 {
      color: rgba(238, 232, 10, 1);
      font-family: Outfit;
      font-weight: bold;
      font-size: 13px;
      line-height: 20px;
    }
  }
}
.myinput {
  width: 335px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  background: rgba(6, 17, 19, 1) !important;
  backdrop-filter: blur(88.199997px);
}
.my1 {
  color: rgba(255, 255, 255, 1);
  font-family: PingFang SC;
  font-size: 15px;
  margin: 16px 0;
}
.Frame17 {
  width: 335px;
  height: fit-content;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 52px;
  flex-shrink: 0;
  padding: 12px 0px;
  border-radius: 20px;
  background: rgba(69, 69, 69, 0.3);
  backdrop-filter: blur(88.199997px);
  margin: 0 auto;
  .title {
    color: rgba(255, 255, 255, 0.6);
    font-family: PingFang SC;
    font-size: 12px;
    margin: 0;
  }
  .text {
    color: rgba(255, 255, 255, 1);
    font-family: Outfit;
    font-weight: bold;
    font-size: 13px;
    line-height: 20px;
  }
  .text1 {
    color: rgba(238, 232, 10, 1);
    font-family: Outfit;
    font-weight: bold;
    font-size: 13px;
    line-height: 20px;
  }
}
.box {
  background: url('../../assets/img/homebg.png');
  background-size: 100% 100%;
  padding: 10px;
  position: relative;
  z-index: 999;
  margin: 16px 10px;
}
.inv {
  border-radius: 20px;
  overflow: hidden;
  .Rectangle59 {
    padding: 0 16px;
    width: 355px;
    height: 56px;
    border-radius: 20px;
    border-width: 0.02667rem;
    border-style: solid;
    border-image-source: conic-gradient(
      from 180deg at 50% 50%,
      rgba(249, 132, 39, 0.6) 43.2deg,
      rgba(255, 255, 255, 0.03) 133.95deg,
      rgba(255, 255, 255, 0) 179.36deg,
      rgba(42, 212, 158, 0.6) 225.65deg,
      rgba(255, 255, 255, 0) 270.75deg,
      rgba(255, 255, 255, 0) 313.24deg,
      rgba(255, 255, 255, 0) 359.85deg
    );
    border-image-slice: 1;
    box-sizing: border-box;
    background: radial-gradient(
        18.17% 149.38% at 100% -23.21%,
        rgba(42, 212, 158, 0.2) 0%,
        rgba(42, 212, 158, 0) 100%
      ),
      #061113;
    backdrop-filter: blur(2.352rem);
  }
}
.WhaleAI产品 {
  height: 21px;
  background: linear-gradient(
    90deg,
    rgba(249, 122, 41, 1) 0%,
    rgba(238, 232, 10, 1) 24.88%,
    rgba(87, 235, 104, 1) 68.5%,
    rgba(42, 212, 158, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(249, 122, 41, 1) 0%,
    rgba(238, 232, 10, 1) 24.88%,
    rgba(87, 235, 104, 1) 68.5%,
    rgba(42, 212, 158, 1) 100%
  );
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  font-family: Outfit-SemiBold;
  font-size: 17px;
}

.text-1 {
  font-family: Outfit;
  font-weight: bold;
}
</style>
